package com.citytransport.prokopjuk.dao;

import java.util.ArrayList;

import com.citytransport.prokopjuk.vehicleDTO.Bus;
import com.citytransport.prokopjuk.vehicleDTO.InternalCombustionEngineType;

public interface IDAOBus {
    void create(Bus bus);

    Bus read(int busID);

    ArrayList<Bus> readAll();
    
    ArrayList<Bus> readAtRoute(int routeID);

    void update(Bus bus, int seatAmount, String registrationNumber,
	    String model, int routeID, boolean cripledoor, int doorAmount,
	    int engineCapacity, InternalCombustionEngineType engineType);

    void delete(Bus bus);

    void deleteAllBus();
}
